package demo1208.pm.shang;

public class Dog {
    private String kind;
    private String furColor;
    private int age;

    public Dog() {
    }

    public Dog(String kind, String furColor, int age) {
        this.kind = kind;
        this.furColor = furColor;
        this.age = age;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getFurColor() {
        return furColor;
    }

    public void setFurColor(String furColor) {
        this.furColor = furColor;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void show() {
        System.out.println("品种:" + kind);
        System.out.println("毛色:" + furColor);
        System.out.println("年龄:" + age);
    }
}
